<%@ page contentType="text/html; charset=utf-8" language="java" errorPage="" %>
<%@ include file="/system/include/taglib.jsp"%>
<html>
<head>
<base href="${pageScope.basePath }">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>中山市中凯信息科技有限公司</title>
<link type="text/css" rel="stylesheet" href="system/css/style.css" />
<link href="system/plugins/validateMyForm/css/plugin.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="system/js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="system/js/verify1.js"></script>
<script type="text/javascript" src="system/plugins/validateMyForm/js/jquery.validateMyForm.1.5.js"></script>
<script type="text/javascript" language="javascript" src="system/js/public.js"></script>
</head>
<body>
<div class="main">
	<div class="position">当前位置: <a href="sysadm/desktop.jsp">桌 面</a> → 用户信息中心</div>
	<div class="mainbody">
		<div class="operate_info">
			未阅读的信息：<br/>		
		</div>
		<div class="table">	
				
			<table width="100%" border="0" cellpadding="1" cellspacing="1" class="table_list">				
				<tr>
					<th>发件人</th>
					<th>标题</th>
					<th>内容</th>
					<th>信息状态</th>					
				</tr>
				<mytag:List name="newMsgs" table="TXtXxts" >sjrDm='${sessionScope.user.userIdentifier }' </mytag:List>			
				<logic:notEmpty name="newMsgs">			
					<logic:iterate id="msg" name="newMsgs">											
					<tr>									
					   <mytag:viewCol  name="user" table="com.zhongkai.model.config.User" >userIdentifier=${msg.fjrDm}</mytag:viewCol>
						<td>${user.userAccount}</td>
						<td>${msg.xxbt }</td>
						<td>${msg.xxnr}</td>
						<td><a href="system/message/read_message.do?xh=${msg.xh}">
							<c:if test="${msg.zt=='n'||msg.zt=='N'}">
							<span style="color: red">未读</span>
							</c:if>
							<c:if test="${msg.zt=='y'||msg.zt=='Y'}">
							<span style="color: green;">已读</span>
							</c:if>
							
							 
						</a></td>
					
					</tr>
					</logic:iterate>
				</logic:notEmpty>			
				<logic:empty name="newMsgs">
					<tr>
						<td colspan="3">暂无记录</td>
					</tr>
				</logic:empty>
								
			</table>
		</div>
	</div>
</div>
</body>
</html>
